<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title?></title>
<?php echo $header;?>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="table_top_left" width="17" valign="top"></td>
    <td class="table_top_middle" valign="top">
		<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
		  <tr>
			<td height="31" align="left"><div class="titlebt"><?php echo $page_label;?></div></td>
		  </tr>
		</table>
	</td>
    <td class="table_top_right" width="16" valign="top"></td>
  </tr>
  <tr>
    <td class="table_left_side" height="71" valign="middle"></td>
    <td valign="top" bgcolor="#F7F8F9">
		<table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
		  <tr>
			<td valign="top">
				<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
				  <tr><td align="left" class="left_txt"><?php echo $nav_label,$title;?></td></tr>
				  <tr>
					<td >
						<form id="f_manager_edit" name="f_manager_edit" method="post" action="<?php echo base_url('manager/edit_action') . $redirect;?>">
						  <table width="100%" class="list" cellpadding="0" style="border-collapse: collapse" border="1" bordercolor="#BFC4CA">
						  <tr>
							 <th colspan="2" height="25" bgcolor="#EEF2FB"><?php echo $title?></th>
						  </tr>
						  <tr><td width="18%" height="25" align="right"><?php echo lang('manager_login_name');?></td>
						  <td width="83%" height="25" align="left">
						  <?php echo $manager['loginname'];?>
						 </td>
						  </tr>
						  <tr><td width="18%" height="25" align="right"><?php echo lang('manager_origin_password');?></td>
							<td width="83%" height="25" align="left">
							   <input name="password_old" type="password" id="password_old" size="20"
							maxlength="20" />
							   <span class="tip"><?php echo lang('manager_tip_password_old');?></span></td>
						  </tr>
						  <tr>
							 <td align="right" height="25"><?php echo lang('manager_new_password');?></td>
							 <td height="25" align="left"><input name="password" type="password" id="password" size="20"
							maxlength="20" />
								<span class="tip"><?php printf(lang('manager_tip_password'), 6, 20);?></span></td>
						  </tr>
						  <tr>
							<td width="18%" align="right" height="25"><?php echo lang('manager_password_confirm');?></td>
							<td width="83%" height="25" align="left">
							  <input name="password_confirm" type="password" id="password_confirm" size="20"
							maxlength="20" />
							  <span class="tip"><?php echo lang('manager_tip_password_confirm');?></span></td>
							</tr>
													<tr>
							<td align="right" height="25"><?php echo lang('manager_purview');?></td>
							<td height="25" align="left">
							<input id="chkall" type="checkbox" value="purview[]" /><?php echo lang('com_list_check_all');?>
							<input name="purview[]" type="checkbox" value="<?php echo PURVIEW_WEB;?>" <?php if($manager['purview'] & PURVIEW_WEB) {echo 'checked="checked"';}?>/><?php echo lang('manager_purview_web');?>
							<input name="purview[]" type="checkbox" value="<?php echo PURVIEW_MANAGER;?>" <?php if($manager['purview'] & PURVIEW_MANAGER) {echo 'checked="checked"';}?>/><?php echo lang('manager_purview_manager');?>
							<input name="purview[]" type="checkbox" value="<?php echo PURVIEW_FRIEND_LINK;?>" <?php if($manager['purview'] & PURVIEW_FRIEND_LINK) {echo 'checked="checked"';}?>/><?php echo lang('manager_purview_friend_link');?>
							<input name="purview[]" type="checkbox" value="<?php echo PURVIEW_COLUMN;?>" <?php if($manager['purview'] & PURVIEW_COLUMN) {echo 'checked="checked"';}?>/><?php echo lang('manager_purview_column');?>
							<input name="purview[]" type="checkbox" value="<?php echo PURVIEW_UPLOAD;?>" <?php if($manager['purview'] & PURVIEW_UPLOAD) {echo 'checked="checked"';}?>/><?php echo lang('manager_purview_upload');?><br />
							<input name="purview[]" type="checkbox" value="<?php echo PURVIEW_NEWS;?>" <?php if($manager['purview'] & PURVIEW_NEWS) {echo 'checked="checked"';}?>/><?php echo lang('manager_purview_news');?>
							<input name="purview[]" type="checkbox" value="<?php echo PURVIEW_PERSON;?>" <?php if($manager['purview'] & PURVIEW_PERSON) {echo 'checked="checked"';}?>/><?php echo lang('manager_purview_person');?>
							<input name="purview[]" type="checkbox" value="<?php echo PURVIEW_CONFERENCE;?>" <?php if($manager['purview'] & PURVIEW_CONFERENCE) {echo 'checked="checked"';}?>/><?php echo lang('manager_purview_conference');?>
							<input name="purview[]" type="checkbox" value="<?php echo PURVIEW_ARTICLE;?>" <?php if($manager['purview'] & PURVIEW_ARTICLE) {echo 'checked="checked"';}?>/><?php echo lang('manager_purview_article');?>
							<input name="purview[]" type="checkbox" value="<?php echo PURVIEW_AD;?>" <?php if($manager['purview'] & PURVIEW_AD) {echo 'checked="checked"';}?>/><?php echo lang('manager_purview_ad');?>
							<input name="purview[]" type="checkbox" value="<?php echo PURVIEW_DISTRICT;?>" <?php if($manager['purview'] & PURVIEW_DISTRICT) {echo 'checked="checked"';}?>/><?php echo lang('manager_purview_district');?>
							</td>
						</tr>
							<tr>
							<td width="18%" align="right" height="25"><?php echo lang('com_remark');?></td>
							<td width="83%" height="25" align="left">
							<input name="remark" type="text" id="remark"
							value="<?php echo $manager['remark'];?>" size="40" maxlength="30" />
							<span class="tip"><?php printf(lang('com_tip_admin_visible'), 30);?></span></td>
							</tr>
						  <tr><td colspan="2" height="25"><input name="s_edit_action" type="submit" class="button" id="s_edit_action"
							value="<?php echo lang('com_button_edit');?>" />
								<input name="Submit2" type="reset" class="button" value="<?php echo lang('com_button_reset');?>" />
								<input name="id" type="hidden" id="id" value="<?php echo $manager['id'];?>" />
						</td></tr>
						  </table>
						</form>
					</td>
				  </tr>
				  </table>
			</td>
		  </tr>
		</table>
	</td>
    <td class="table_right_side"></td>
  </tr>
  <tr>
    <td valign="middle" class="table_bottom_left">&nbsp;</td>
    <td height="17" valign="top" class="table_bottom_middle">&nbsp;</td>
    <td class="table_bottom_right">&nbsp;</td>
  </tr>
</table>
</body>
</html>
